package cn.me.service.impl;

import cn.me.dao.SectionMapper;
import cn.me.pojo.Section;
import cn.me.service.SectionService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;

/*部门业务类*/
@Transactional
@Service
public class SectionServiceImpl implements SectionService {
    @Autowired
    private SectionMapper sectionMapper;
    //全查
    @Override
    public List<Section> selectAll(){
        return sectionMapper.selectByExample(null);

    }
}
